package com.nt;

public class Receive extends Thread {
	private Storage s;

	public Receive(Storage s) {
		this.s = s;
	}

	public void run() {
		for (int i = 1; i < 6; i++) {
			System.out.println("Consume get:" + s.get());
		}
	}
}
